# -*- coding: utf-8 -*-
# @Time : 2023/10/23 19:44
# @Author : ZH
# @File : 2678.py
# @Software: PyCharm
from typing import List


class Solution:
    def countSeniors(self, details: List[str]) -> int:
        return len([int(f'{i[-4]}{i[-3]}') for i in details if int(f'{i[-4]}{i[-3]}') > 60])
        pass

if __name__ == '__main__':
    so = Solution()
    details = ["7868190130M7522", "5303914400F9211", "9273338290F4010"]
    l = so.countSeniors(details)
    print(l)
